package com.hanhai.zrb.api.biz.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.hanhai.zrb.model.intention.IntentionMessage;
import com.hanhai.zrb.model.intention.dto.IntentionMessageDto;

public interface IntentionMessageService {

	public PageInfo findIntentionMessages(IntentionMessageDto intentionMessageDto,int pageNum, int pageSize);
	
	public boolean saveIntentionMessage(IntentionMessage intentionMessage);
	
	public boolean updateIntentionMessage(IntentionMessage intentionMessage);
	
	public boolean deleteIntentionMessage(Long id);
	
	public IntentionMessage getIntentionMessage(Long id) ;
	
	public boolean appLeaveMessage(IntentionMessage intentionMessage);
	
	public boolean batchUpdateIntentionMessage(List<IntentionMessage> intentionMessages);
	
}
